package cn.mzcode.xyzpfuwuduan.service;


import cn.mzcode.xyzpfuwuduan.common.ServerResponse;
import cn.mzcode.xyzpfuwuduan.pojo.Student;

public interface IStudentService {
    ServerResponse<Student> login(String username, String password,Integer id);

    ServerResponse<String> register(Student student);

    ServerResponse<String> checkVlaid(String str, String type);


    ServerResponse<String> forgetResetPassword(String username, String passwordNew, String phone);

    ServerResponse<String> resetPassword(String passwordOld, String passwordNew, Integer studentId);

    ServerResponse<Student> updateInformation(Integer studentId);

    ServerResponse<Student> getInformation(Integer id);


}
